<template>
	<view class="layout" :style="`paddingTop: ${statusHeight}`">
		<view class="header">
			<view class="title" @click="goBack">
				<u-icon class="icon" name="arrow-left" size="36"></u-icon>
				<view>我的钱包</view>
			</view>
		</view>
		<view class="card">
			<view class="card-info">
				<view class="left">
					<view class="item">
						<view class="title">佣金余额(元)</view>
						<view class="price">2996.00</view>
						<view class="title">昨日收入(元)</view>
						<view class="price">2996.00</view>
					</view>
				</view>
				<view class="right">申请提现</view>
			</view>
		</view>
		<view class="mine-info">
			<view class="title">
				<text>收支明细</text>
				<text>筛选</text>
			</view>
			<view class="mine-info-money">
				<view class="mine-money">
					<view class="time">当前时间: 2024-1-25</view>
					<view>收入(元)</view>
					<view class="money">{{34523.00}}</view>
				</view>
				<view class="mine-money">
					<view class="time" style="opacity: 0;">0</view>
					<view>支出(元)</view>
					<view class="money">33.33</view>
				</view>
				<view class="tj">
					<text>收支统计</text>
					<u-icon class="icon" name="arrow-right" size="24" color="#fff"></u-icon>
				</view>
			</view>
		</view>
		<view class="wallet">
			<view class="item">
				<view class="time">2023-10-17</view>
				<view class="product">
					<view class="product-title">
						<u-icon class="icon" name="file-text-fill" size="36"></u-icon>
						<text>申请产品</text>
					</view>
					<view class="price">+300</view>
				</view>
				<view class="footer">
					<view>申请人: <text> 智融金科2568</text></view>
					<view>手机: <text> 153****1921</text></view>
					<view>产品: <text> 新一贷</text></view>
				</view>
			</view>
			<view class="item">
				<view class="time">2023-10-17</view>
				<view class="product">
					<view class="product-title">
						<u-icon class="icon" name="file-text-fill" size="36"></u-icon>
						<text>申请产品</text>
					</view>
					<view class="price">+300</view>
				</view>
				<view class="footer">
					<view>申请人: <text> 智融金科2568</text></view>
					<view>手机: <text> 153****1921</text></view>
					<view>产品: <text> 新一贷</text></view>
				</view>
			</view>
			<view class="item">
				<view class="time">2023-10-17</view>
				<view class="product">
					<view class="product-title">
						<u-icon class="icon" name="file-text-fill" size="36"></u-icon>
						<text>申请产品</text>
					</view>
					<view class="price">+300</view>
				</view>
				<view class="footer">
					<view>申请人: <text> 智融金科2568</text></view>
					<view>手机: <text> 153****1921</text></view>
					<view>产品: <text> 新一贷</text></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				statusHeight: getApp().globalData.statusBarHeight,
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.layout{
		width: 100%;
		height: 100vh;
		background-image: linear-gradient(217deg,rgba(247,232,223,.8),rgba(255,0,0,0) 53.71%),linear-gradient(127deg,rgba(250,228,217,.8),rgba(0,255,0,0) 42.71%),linear-gradient(336deg,hsla(0,0%,100%,.8),rgba(0,0,255,0) 30.71%);
	}
	.header{
		padding: 20rpx 0;
		width: 100%;
		.title{
			position: relative;
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			height: 90rpx;
			color: #333;
			font-family: Source Han Sans CN;
			font-size: 36rpx;
			font-style: normal;
			font-weight: 600;
			.icon{
				position: absolute;
				top: 50%;
				left: 30rpx;
				transform: translateY(-50%);
			}
		}
	}
	.card{
		margin: 20rpx 30rpx 0;
		&-info{
			background: url(../../static/images/bgCar01.png) no-repeat center;
			height: 352rpx;
			border-radius: 14rpx;
			display: flex;
			justify-content: space-between;
			padding: 30rpx;
			.left{
				color: #fff;
				.title{
					font-size: 26rpx;
					margin-bottom: 10rpx;
				}
				.price{
					color: #FFF;
					text-align: center;
					font-family: Source Han Sans CN;
					font-size: 56rpx;
					font-style: normal;
					font-weight: 700;
					margin-bottom: 10rpx;
				}
			}
			.right{
				color: #FFF;
				text-align: center;
				font-family: Source Han Sans CN;
				font-size: 28rpx;
				font-style: normal;
				font-weight: 400;
				border: 1rpx solid #FFF;
				height: 50rpx;
				line-height: 50rpx;
				padding: 0 15rpx;
				border-radius: 25rpx;
			}
		}

	}
	.mine-info{
		position: relative;
		padding: 20rpx 30rpx;
		z-index: 99;
		margin-top: 20rpx;
		.title{
			display: flex;
			justify-content: space-between;
			align-items: center;
			text{
				font-size: 26rpx;
				&:first-child{
					font-size: 28rpx;
					font-weight: bold;
				}
			}
		}
		&-money{
			position: relative;
			display: flex;
			justify-content: space-between;
			align-items: center;
			background: url(../../static/images/middlebg.png) no-repeat left center;
			background-size: 100% 228rpx;
			border-radius: 16rpx;
			margin-top: 10rpx;
			.mine-money {
				width: 50%;
				padding: 20rpx 30rpx;
				text-align: left;
				.time{
					font-size: 20rpx;
					margin-bottom: 10rpx;
				}
				view{
					color: #907162;
					font-family: Source Han Sans CN;
					font-size: 24rpx;
					font-style: normal;
					font-weight: 400;
				}
				.money{
					color: #614132;
					font-family: Source Han Sans CN;
					font-size: 36rpx;
					font-style: normal;
					font-weight: 700;
					padding-top: 10rpx;
				}
			}
			.tj{
				position: absolute;
				top: 30rpx;
				right: 0;
				display: flex;
				justify-content: flex-start;
				align-items: center;
				background-color: #EAB48C;
				padding: 8rpx 10rpx 8rpx 16rpx;
				border-radius: 30rpx 0 0 30rpx;
				text{
					font-size: 24rpx;
					color: #fff;
				}
			}
		}
	}
	.wallet{
		margin: 0rpx 30rpx;
		.item{
			padding: 30rpx 0;
			border-bottom: 1rpx solid #E5DFDC;
			.time{
				color: #666;
				font-family: Source Han Sans CN;
				font-size: 24rpx;
				font-style: normal;
				font-weight: 400;
			}
			.product{
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 10rpx 0;
				&-title{
					display: flex;
					justify-content: flex-start;
					align-items: center;
					color: #333;
					text-align: center;
					font-family: Source Han Sans CN;
					font-size: 28rpx;
					font-style: normal;
					font-weight: 400;
				}
				.price{
					color: #333;
					font-family: Source Han Sans CN;
					font-size: 32rpx;
					font-style: normal;
					font-weight: 500;
				}
			}
			.footer{
				display: flex;
				justify-content: space-between;
				align-items: center;
				view{
					color: #999;
					font-family: Source Han Sans CN;
					font-size: 24rpx;
					font-style: normal;
					text{
						color: #666;
						font-family: Source Han Sans CN;
						font-size: 24rpx;
						font-style: normal;
						font-weight: 400;
					}
				}
			}
		}
	}
</style>